package com.zhu.service.impl;

import com.zhu.DAO.DistrictDao;
import com.zhu.bean.District;
import com.zhu.service.DistrictService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service("districtService")
public class DistrictServiceImpl implements DistrictService {
    @Autowired
    private DistrictDao districtDao;
    @Override
    public List<District> getAll() {
        return districtDao.selectAll();
    }



}
